<template>
  <div>
    <!-- 进度条 -->
    <el-progress :percentage="percentage" text-inside></el-progress>
  </div>
</template>

<script>
export default {
  data() {
    return {
      percentage: 0,
    };
  },
  methods: {
    // 上传进度
    handleProgress(event, file, fileList) {
      this.percentage = event.percent;
    },
  },
};
</script>

<style></style>
